home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.0 KB | 29 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 8467966 22-Nov-89 22:57
-
- From: WILSON6 Wilson, Dave-Personal Concepts,VCA
-
- To: SW0075 SWV VTS Transportation Systems, GBG
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re TList problems
-
- Bosse,
-
- One other thing that hurts the performance any time you use a lot of objects is
- running out of Master Pointers. When the Memory Manager runs out, it allocates
- 64 more with a call to MoreMasters. These are non-relocatable blocks on the
- heap, which the MM tries to force low on the heap by purging and compacting.
- This heap activity can slow things down.
-
- If you intend to instantiate 8,000 objects, then you need at least 8000/64 (=
- 125) blocks of Master Pointers. Then add a few more for windows regions, other
- objects, etc. To create these, call InitUMacApp(140) in your main program.
- This will use about 32 KB on the heap, but you need them - and it does improve
- the performance.
-
- Dave
-
-